package com.example.demo.controller;

import cn.hutool.captcha.LineCaptcha;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/res")
public class CaptchaController {
    //1.首先我们要设置一个二维码并且返回给前端
    public void getCap(){
        LineCaptcha captcha=
    }
}
